<template>
	<view>
		<approvalTree :sourceData="examList"></approvalTree>
	</view>
</template>

<script>
	import approvalTree from '@/components/approvalTree.vue'
	export default {
		components: {
			approvalTree
		},
		data() {
			return {
				// 审批人列表
				examList: [{
						userType: '0',
						children: [{
							avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/pUSU6V0yibHtFFd06SYt7FY2ibBongkMG6kmQWEvalhGlw6lDl3BSGHPNkBBaOoWRNkMPlTP8iaAOXolgA9fj5ZKQ/132',
							name: '叶凡'
						}]
					},

					{
						userType: '0',
						children: [{
							avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/JY9dkjZ4buNBf0dYibTZNibSxgplmk113yjwyCQjD01o3Fxl0Ok5ZzDNM03LMomISicx8l6Ecw5dUcEibAULiaM4wRA/132',
							name: '马九思'
						}]
					},
					{
						userType: '0',
						children: [{
							avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/JY9dkjZ4buNBf0dYibTZNibSxgplmk113yjwyCQjD01o3Fxl0Ok5ZzDNM03LMomISicx8l6Ecw5dUcEibAULiaM4wRA/132',
							name: '马九思'
						}]
					},
					{
						userType: '0',
						children: [{
							avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTKMdylic8UUD4wn5pMUIBgcIAHicR4v4s1CxXn2edZWh6B4rXDyZP7P2iauuACpp2Qg6kbBrvk8bcOpg/132',
							name: '李恒1'
						}]
					},
					{
						userType: '1',
						children: [{
								avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/ibwicFrI5rXBSunoT9DYAAr6mh0vP1xWOoIZNicLvyibaicIBQuCf6ibQWicH4iaTUIsnAGeuKic1RYeBRDvmw0TKzKHQPA/132',
								name: '赵文'
							},
							{
								avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Yick8kyEAib6PnFzQ8HajicETtAl9rB01atEUa1MibBU1sKQCoHT8Gda9l2fPm2qSj7ULIH9M6wgaUcgjqqDycpf5Q/132',
								name: '姜兵'
							},
							{
								avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIKTj5UrpSGl48co3akibdk8cK4CicbjteOrGqEErmTrdlQlRrDdQFK8FVowU0ibxQa6fkLAcysShqibw/132',
								name: '侯震'
							},
							{
								avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/pUSU6V0yibHtFFd06SYt7FY2ibBongkMG6kmQWEvalhGlw6lDl3BSGHPNkBBaOoWRNkMPlTP8iaAOXolgA9fj5ZKQ/132',
								name: '焦平'
							},


							{
								avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Yick8kyEAib6PnFzQ8HajicETtAl9rB01atEUa1MibBU1sKQCoHT8Gda9l2fPm2qSj7ULIH9M6wgaUcgjqqDycpf5Q/132',
								name: '姜兵'
							},
							{
								avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIKTj5UrpSGl48co3akibdk8cK4CicbjteOrGqEErmTrdlQlRrDdQFK8FVowU0ibxQa6fkLAcysShqibw/132',
								name: '侯震'
							},
							{
								avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/pUSU6V0yibHtFFd06SYt7FY2ibBongkMG6kmQWEvalhGlw6lDl3BSGHPNkBBaOoWRNkMPlTP8iaAOXolgA9fj5ZKQ/132',
								name: '焦平'
							},
							{
								avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Yick8kyEAib6PnFzQ8HajicETtAl9rB01atEUa1MibBU1sKQCoHT8Gda9l2fPm2qSj7ULIH9M6wgaUcgjqqDycpf5Q/132',
								name: '姜兵'
							},
							{
								avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIKTj5UrpSGl48co3akibdk8cK4CicbjteOrGqEErmTrdlQlRrDdQFK8FVowU0ibxQa6fkLAcysShqibw/132',
								name: '侯震'
							},
							{
								avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/pUSU6V0yibHtFFd06SYt7FY2ibBongkMG6kmQWEvalhGlw6lDl3BSGHPNkBBaOoWRNkMPlTP8iaAOXolgA9fj5ZKQ/132',
								name: '焦平'
							},
							{
								avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Yick8kyEAib6PnFzQ8HajicETtAl9rB01atEUa1MibBU1sKQCoHT8Gda9l2fPm2qSj7ULIH9M6wgaUcgjqqDycpf5Q/132',
								name: '姜兵'
							},
						]
					},
					{
						userType: '0',
						children: [{
							avatar: 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTKMdylic8UUD4wn5pMUIBgcIAHicR4v4s1CxXn2edZWh6B4rXDyZP7P2iauuACpp2Qg6kbBrvk8bcOpg/132',
							name: '李恒1'
						}]
					}
				],
			}
		},
		onLoad() {

		},
		methods: {

		},

	}
</script>

<style lang="scss">

</style>